package lium.lbs.lbsim.adapter

import android.widget.TextView
import com.buz.hjcdriver.bean.AllCityResultBean
import com.buz.hjcdriver.bean.FriendsModel
import com.chad.library.adapter.base.BaseMultiItemQuickAdapter
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder
import com.qmuiteam.qmui.widget.QMUIRadiusImageView
import lium.lbs.lbsim.R
import lium.lbs.lbsim.activity.MainActivity
import lium.lbs.lbsim.utils.PinnedHeaderItemDecoration

/**
 * 好友 adapter
 */
class ChooseCityAdapter : BaseQuickAdapter<AllCityResultBean, BaseViewHolder>(R.layout.item_country){
    override fun convert(helper: BaseViewHolder?, item: AllCityResultBean?) {
        helper?.getView<TextView>(R.id.city_name)?.text = item?.name
    }

}